Related Vulnerabilities: CVE-2021-3489  

A security issue was found in the Linux kernel. It was discovered that eBPF RINGBUF bpf_ringbuf_reserve did not check that the allocated size was smaller than the ringbuf size, leading to an out-of-bounds write.

Severity Medium

Remote No

Type Arbitrary code execution

Description

A security issue was found in the Linux kernel. It was discovered that eBPF RINGBUF bpf_ringbuf_reserve did not check that the allocated size was smaller than the ringbuf size, leading to an out-of-bounds write.

AVG-1881 linux-hardened 5.11.19.hardened1-1 Medium Vulnerable

AVG-1880 linux-zen 5.12.2.zen2-1 Medium Vulnerable

AVG-1879 linux 5.12.2.arch4-1 Medium Vulnerable

AVG-1741 linux-lts 5.10.36-1 Medium Vulnerable

https://www.openwall.com/lists/oss-security/2021/05/11/10
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=4b81ccebaeee885ab1aa1438133f2991e3a2b6ea